﻿using HamcoWcs.Models.TibcoMessage.Items;
using System.Xml.Serialization;

namespace HamcoWcs.Models.TibcoMessage
{

    [XmlRoot("MESSAGE")]
    public class PalletTransportJobTerminatedByAGVMessage : BaseTibcoMessage<PalletTransportJobTerminatedByAGVMessageBody>
    {
        public PalletTransportJobTerminatedByAGVMessage()
        {

        }
        public PalletTransportJobTerminatedByAGVMessage(PalletTransportJobTerminatedByAGVMessageBody body, string inboxName = "", string listener = "") : base("PalletTransportJobTerminatedByAGV", body, inboxName, listener)
        {
        }
    }


    public class PalletTransportJobTerminatedByAGVMessageBody : PalletEventBase
    {
        public PalletTransportJobTerminatedByAGVMessageBody()
        {
        }



        [XmlElement("REASONCODE")]
        public string ReasonCode { get; set; }
        [XmlElement("TRANSPORTJOBNAME")]
        public string TransportJobName { get; set; }
        [XmlElement("CURRENTMACHINENAME")]
        public string CurrentMachineName { get; set; }
        [XmlElement("CURRENTPOSITIONTYPE")]
        public string CurrentPositionType { get; set; }
        [XmlElement("CURRENTPOSITIONNAME")]
        public string CurrentPositionName { get; set; }
        [XmlElement("CURRENTZONENAME")]
        public string CurrentZoneName { get; set; }
        [XmlElement("TRANSFERSTATE")]
        public string TransferState { get; set; }
        public string PALLETLOCSTATE { get; set; }


    }
}
